package com.kayeah82.application.avatar.qq.exception;

/**
 * @author kayeah82
 * */
public enum ErrorCode {

    /**
     * EC = Error Code的缩写
     */
    EC_FAIL(-1, "FAIL"),
    EC_SUCCESS(0, "SUCCESS"),
    EC_10000(10000, "Unknown Error"),
    EC_10001(10001, "Illegal Params Error"),
    EC_10002(10002, "Frequent API Call");

    ErrorCode(Integer code, String description) {
        this.code = code;
        this.description = description;
    }

    public final Integer code;
    public final String description;
}